package org.zero.onlinesubject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.zero.onlinesubject.common.vo.SignRecordsVo;
import org.zero.onlinesubject.entity.Analytics;
import org.zero.onlinesubject.entity.SignRecords;

import java.util.List;

/**
 * @Entity org.zero.onlinesubject.entity.Analytics
 */
public interface SignRecordsMapper extends BaseMapper<SignRecords> {

    int updateSignCount(String now,Integer signID,Integer fromID);

    SignRecordsVo getSignRecordsVo(String userId,String liveId);

    int batchInsert(List<SignRecords> list);

    List<SignRecordsVo> getSignInfoList(String userId,Integer fromId);

    int insertOne(SignRecords signRecords);
}





